<div class="tableform widgetconfig">
<div class="division">
    <{assign var=filter1 value=$setting.adjunct.items.0}>
<{input type="goodsfilter" app=b2c name="filter" value=array('items'=>$filter1)}>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <th><{t app='b2c'}>排行依据：<{/t}></th>
    <td>
    <select name="ranking"> 
		<{foreach from=$data item=orderby key=key}>
		<option value="<{$orderby.sql}>" <{if $setting.ranking==$orderby.sql}>selected<{/if}>><{$orderby.label}></option>
		<{/foreach}>
		</select>
        </td>
  </tr>
  <tr>
    <th><{t app='b2c'}>榜单显示商品数：<{/t}></th>
    <td><{input name="limit" value=$setting.limit|default:'10' size=8 required="true" type="digits"}></td>
  </tr>
  <tr>
    <th><{t app='b2c'}>字体颜色：<{/t}></th>
    <td><{input type="color" name="fontColor2" value=$setting.fontColor2|default:'default'}></td>
  </tr>

  <tr>
    <th><{t app='b2c'}>高亮：<{/t}></th>
    <td><{t app='b2c'}> 前<{/t}><{input type="com_select" name="showing" value=$setting.showing from=1
      to=10}><{t app='b2c'}>项 <{/t}></tr>
  <tr>
    <th><{t app='b2c'}>高亮字体颜色：<{/t}></th>
    <td><{input type="color" name="fontColor" value=$setting.fontColor|default:'default'}></td>
  </tr>

  <tr>
    <th><{t app='b2c'}>是否显示首位商品图片：<{/t}></th>
    <td><input type="radio" name="showPic" value="on" <{if $setting.showPic!="off"}>checked<{/if}>><{t app='b2c'}>是<{/t}><input type="radio" name="showPic" value="off" <{if
      $setting.showPic=="off"}>checked<{/if}>> <{t app='b2c'}>否<{/t}></td>
  </tr>
   <tr>
    <th><{t app='b2c'}>商品名最长显示长度：<{/t}></th>
    <td><{input name="maxlength" value=$setting.maxlength|default:"35"}></td>
  </tr>
  <tr>
    <th><{t app='b2c'}>是否显示更多：<{/t}></th>
    <td><input type="radio" name="showMore" value="on" <{if $setting.showMore!="off"}>checked<{/if}>><{t app='b2c'}>是<{/t}><input type="radio" name="showMore" value="off" <{if
      $setting.showMore=="off"}>checked<{/if}>><{t app='b2c'}> 否<{/t}></td>
  </tr>
</table>
</div>
</div>